package ch05;

/**
 * Created by hasee on 2017/6/18.
 */
public class SloganCounter {
    public static void main(String[] args) {
        Slogan obj;
        obj = new Slogan("Remember the Alamo.");
        System.out.println(obj);
        obj = new Slogan("Don't worry.Be Happy.");
        System.out.println(obj);
        obj = new Slogan("Live Free or Die.");
        System.out.println(obj);
        obj = new Slogan("Talk is Cheap.");
        System.out.println(obj);
        obj = new Slogan("Write Once,Run Anywhere.");
        System.out.println(obj);

        System.out.println();
        System.out.println("Slogans created:"+Slogan.getCount());
    }
}
